package org.jeecg.modules.zonglzp.service.impl;

import org.jeecg.modules.zonglzp.mapper.MeasuringMapper;
import org.jeecg.modules.zonglzp.service.MeasuringService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Service
public class MeasuringServiceImpl implements MeasuringService {


    @Autowired
    MeasuringMapper mapper;

    //查看这个订单中这个小产品的量体数据
    @Override
    public List<Map<String, String>> getliangtidetail(String smallproductId, String teamorderSn) {
        return mapper.getliangtidetail(smallproductId,teamorderSn);
    }

    @Override
    public int getbodysType(String smallproductId, String teamorderSn) {
        return mapper.getbodysType( smallproductId,  teamorderSn);
    }


    @Override
    public String getstandardSize(String smallproductId, String teamorderSn) {
        return mapper.getstandardSize(smallproductId, teamorderSn);
    }

    /**
     * 获取小产品的面料和图片
     * @param smallproductId
     * @return
     */
    @Override
    public HashMap<String, String> getremarkandimg(String smallproductId) {
        return mapper.getremarkandimg( smallproductId);
    }
}
